﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace LanguageTraning
{
    class InitializeObject
    {
        public class Point
        {
            int x, y;
            public int X { get { return x; } set { x = value; } }
            public int Y { get { return y; } set { y = value; } }
        }

        public void TestMethod()
        {
            Console.WriteLine("---------------------------------------------");
            Console.WriteLine("this is example of {0}", this.GetType().ToString());

            var a = new Point { X = 0, Y = 1 };
            //var a = new Point(); a.X = 0;  a.Y = 1;

            List<int> num = new List<int> { 0, 1, 2, 6, 7, 8, 9 };
        }
    }
}
